<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;


Route::group('wx',function(){
    Route::get('index','Wxdl/index');
    Route::get('wxlogin','Wxdl/wxlogin');
    Route::get('gettoken','Wxdl/getToken');
});
Route::group('dm',function(){
    Route::get('','Cdm/index');
    Route::get('index','Cdm/index');
    Route::post('save','Cdm/savescore');
    //Route::get("getscore",'Cdm/getscore');
    Route::get("rank",'Cdm/rank');
    Route::get("my",'Cdm/getscore');
    Route::post("address",'Cdm/address');
    Route::miss(function() {
        return '404 Not Found!';
    });

});
Route::group('index',function(){
    Route::get('index','Index/index');
    Route::get('dl','Index/dl');
    Route::get('rank','Index/dlrank'); 
    Route::get('aes','Myaes/index');
    Route::miss(function() {
        return '404 Not Found!';
    });
});
Route::group('aes',function(){
    Route::get('aes','Myaes/index');
    
});


